<template>
  <h1>(自定义hooks)</h1>
  <h2>获取鼠标在页面上的定位,x:{{point.x}},y:{{point.y}}</h2>
</template>

<script>
import { usePoint } from '../Hooks/usePoint'
export default {
  setup () {
    const point = usePoint()

    return {
      point
    }
  }
}
</script>